﻿using System.Collections.Generic;
using System.Diagnostics;

namespace Ndex.Core.Extension
{
    public static class DictionaryExt
    {
        [DebuggerStepThrough]
        public static object GetValue(this Dictionary<string, object> dic, string key)
        {
            if (dic.ContainsKey(key))
                return dic[key];

            return string.Empty;
        }
    }
}
